﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

//Thêm thư viện
using KaraokeManagementDAO;
using KaraokeManagementDTO;

namespace KaraokeManagementBUS
{
    public class PhongHatBUS
    {
        PhongHatDAO dao = new PhongHatDAO();
        public List<PhongHatDTO> layDanhSachPhongHat(int Tang)
        {
            return dao.layDanhSachPhongHat(Tang);
        }

        public List<PhongHatDTO> layDanhSachPhongHat()
        {
            return this.layDanhSachPhongHat(0);
        }

        public Boolean capNhatTinhTrangPhongHat(int MaPhong, int TinhTrang)
        {
            return dao.capNhatTinhTrangPhongHat(MaPhong, TinhTrang);
        }
    }
}
